package com.yoso.log.infrastructure.dao.order;

import com.yoso.base.infrastructure.dao.BaseMapper;
import com.yoso.log.domain.order.OrderLogEntity;
import com.yoso.log.domain.order.OrderLogEntityExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface OrderLogEntityMapper extends BaseMapper<OrderLogEntity, OrderLogEntityExample> {
    @Override
    long countByExample(OrderLogEntityExample example);

    @Override
    int deleteByExample(OrderLogEntityExample example);

    @Override
    int deleteByPrimaryKey(String id);

    @Override
    int insert(OrderLogEntity record);

    @Override
    int insertSelective(OrderLogEntity record);

    @Override
    List<OrderLogEntity> selectByExample(OrderLogEntityExample example);

    @Override
    OrderLogEntity selectByPrimaryKey(String id);

    @Override
    int updateByExampleSelective(@Param("record") OrderLogEntity record, @Param("example") OrderLogEntityExample example);

    @Override
    int updateByExample(@Param("record") OrderLogEntity record, @Param("example") OrderLogEntityExample example);

    @Override
    int updateByPrimaryKeySelective(OrderLogEntity record);

    @Override
    int updateByPrimaryKey(OrderLogEntity record);
}